const Route = require('koa-router')

const { addSpecialty,getSpecialty,editSpecialty,deleteSpecialty } = require('../controller/specialty.js')
const router = new Route()
router.post('/add', addSpecialty)
router.get('/get', getSpecialty)

router.post('/edit', editSpecialty)

router.post('/delete', deleteSpecialty)

module.exports = router